﻿capital = 608 # 
#oob = "ZHA_1936"
set_research_slots = 3	#norm
recruit_character = ZHA_xiayi
recruit_character = ZHA_council_of_technocrats
recruit_character = ZHA_jianping_zhang
recruit_character = ZHA_xiaolong_yi
recruit_character = ZHA_hepin_wang
recruit_character = ZHA_yunshen_lee
recruit_character = ZHA_lin_ximen
recruit_character = ZHA_zengzhong_qian
recruit_character = ZHA_zhong_tang
recruit_character = ZHA_zha_gener_defenss
recruit_character = ZHA_zha_demograf_potit_12
recruit_character = ZHA_zha_war_industrialist_9
recruit_character = ZHA_zha_pilitic_1
recruit_character = ZHA_zha_pilitic_4
recruit_character = ZHA_zha_gener_drill_1
recruit_character = ZHA_zha_navy_gener_1
recruit_character = ZHA_zha_navy_gener_2
recruit_character = ZHA_zha_air_chif4
recruit_character = ZHA_zha_armaments_organizer_8
recruit_character = ZHA_zha_air_chif1
recruit_character = ZHA_zha_air_chif2
recruit_character = ZHA_zha_air_chif3
recruit_character = ZHA_zha_finans_genera_7
recruit_character = ZHA_zha_gener_maneuver_1
recruit_character = ZHA_zha_arm_gener_8
recruit_character = ZHA_zha_arm_gener_9
recruit_character = ZHA_zha_gener_moral_1
recruit_character = ZHA_zha_technokr_prop_11
recruit_character = ZHA_zha_imperat_prop_10
recruit_character = ZHA_zha_political_advisor_1
recruit_character = ZHA_zha_tech_pilitic_3
recruit_character = ZHA_zha_teor3
recruit_character = ZHA_zha_teor2
recruit_character = ZHA_zha_arm_gener_1
recruit_character = ZHA_zha_arm_gener_2
recruit_character = ZHA_zha_arm_ref_minist
recruit_character = ZHA_zha_arm_gener_4
recruit_character = ZHA_zha_arm_gener_5
recruit_character = ZHA_zha_arm_gener_6
recruit_character = ZHA_zha_teor4
recruit_character = ZHA_zha_arm_gener_7
recruit_character = ZHA_council_of_technocrats_2

# Starting tech
set_technology = {
	infantry_weapons = 1
	infantry_weapons1 = 1
	gw_artillery = 1
	tech_support = 1		
	tech_engineers = 1
	tech_recon = 1
	tech_military_police = 1
	tech_mountaineers = 1
	
	tech_trucks = 1
	motorised_infantry = 1		

	mass_assault = 1
	
	electronic_mechanical_engineering = 1
	radio = 1
	basic_train = 1
}
if = {
	limit = {
		has_dlc = "By Blood Alone"
	}
	set_air_oob = "ZHA_1936_air_bba"
	set_technology = {
		iw_small_airframe = 1
		aa_lmg = 1
		engines_1 = 1
		engines_2 = 1																		
		aircraft_construction = 1
		early_bombs = 1
		iw_medium_airframe = 1
		basic_small_airframe = 1
	}	
	else = {	
		set_air_oob = "ZHA_1936_air_legacy"
		set_technology = {
			early_fighter = 1
			naval_bomber1 = 1
			early_bomber = 1
			CAS1 = 1	
		}
	}
}
if = {
	limit = {
		has_dlc = "La Resistance"
	}
	set_technology = {
		armored_car1 = 1
	}
}
if = {
	limit = {
		NOT = { has_dlc = "No Step Back" }
	}
	set_technology = {
		gwtank = 1
		basic_light_tank = 1
	}
	set_oob = "ZHA_1936"
}
if = {
	limit = {
		has_dlc = "No Step Back"
	}
	set_technology = {
		gwtank_chassis = 1
		basic_light_tank_chassis = 1
		improved_light_tank_chassis = 1
		engine_tech_1 = 1
		engine_tech_2 = 1
	}
	set_oob = "ZHA_1936_nsb"
}

if = {
	limit = {
		not = { has_dlc = "Man the Guns" }
	}
	set_technology = {
		early_submarine = 1
		early_destroyer = 1
		basic_destroyer = 1		
		transport = 1
	}
	set_naval_oob = "ZHA_1936navy"
}
if = {
	limit = {
		has_dlc = "Man the Guns"
	}
	set_technology = {
		basic_naval_mines = 1
		submarine_mine_laying = 1
		early_ship_hull_light = 1
		basic_ship_hull_light = 1
		early_ship_hull_submarine = 1		
		mtg_transport = 1	
		basic_battery = 1
		basic_light_battery = 1		
	}
	set_naval_oob = "ZHA_1936mtg"	
}

set_stability = 0.48
add_ideas = {
	zha_posledsv_epidemii
	zha_nekompetentn_pravitel
	zha_technokrat_opozitia
	zha_nepokorstvo_warlordov
	Absolyutism
}

set_convoys = 40

set_politics = {	
	ruling_party = fascism
	last_election = "1986.1.1"
	election_frequency = 48
	elections_allowed = no
}
set_popularities = {
	democratic = 7
	neutrality = 10
	fascism = 83			
}
if = {
	limit = {
		has_dlc = "Together for Victory"
	}
	set_autonomy = {
		target = ZTA
		autonomous_state =  autonomy_reichsprotectorate
	}
	set_autonomy = {
		target = ZMJ
		autonomous_state =  autonomy_reichsprotectorate
	}
	set_autonomy = {
		target = ZXK
		autonomous_state =  autonomy_reichsprotectorate
	}
	else = {
		puppet = ZTA	# Северная Юань
		puppet = ZMJ	# Чжурчжэния	
		puppet = ZXK	# Амдо
	}
}

if = {
	limit = { not = { has_dlc = "Man the Guns" } }
	### Variants ###
	# Submarines #
	create_equipment_variant = {
		name = "S Class"
		type = submarine_1
		parent_version = 0
		upgrades = {
			ship_reliability_upgrade = 2
			sub_engine_upgrade = 2
			sub_stealth_upgrade = 2
			sub_torpedo_upgrade = 2
		}
	}	
	# Destroyers #
	create_equipment_variant = {
		name = "D Class"
		type = destroyer_1
		parent_version = 0
		upgrades = {
			ship_torpedo_upgrade = 1
			destroyer_engine_upgrade = 2
			ship_ASW_upgrade = 2
			ship_anti_air_upgrade = 1
		}		
	}
	
}
if = {
	limit = { has_dlc = "Man the Guns" }
	### Variants ###
	# Submarines #
	create_equipment_variant = {
		name = "S Class"
		type = ship_hull_submarine_1
		parent_version = 0
		modules = {
			fixed_ship_torpedo_slot = ship_torpedo_sub_1
			fixed_ship_engine_slot = sub_ship_engine_1
			rear_1_custom_slot = empty
		}
	}	
	# Destroyers #
	create_equipment_variant = {
		name = "D Class"
		type = ship_hull_light_1
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_light_battery_1
			fixed_ship_anti_air_slot = empty
			fixed_ship_fire_control_system_slot = empty
			fixed_ship_radar_slot = ship_sonar_1
			fixed_ship_engine_slot = light_ship_engine_1
			fixed_ship_torpedo_slot = ship_torpedo_1
			mid_1_custom_slot = ship_torpedo_1
			rear_1_custom_slot = ship_depth_charge_1
		}		
	}	
}

if = {
	limit = {
		has_dlc = "No Step Back"
	}
	create_equipment_variant = {
		name = "LT1"
		type = light_tank_chassis_0
		parent_version = 0
		modules = {
			main_armament_slot = tank_heavy_machine_gun
			turret_type_slot = tank_light_fixed_superstructure_turret
			suspension_type_slot = tank_bogie_suspension
			armor_type_slot = tank_riveted_armor
			engine_type_slot = tank_gasoline_engine
		}
		upgrades = {
			tank_nsb_engine_upgrade = 1
			tank_nsb_armor_upgrade = 1
		}
		obsolete = yes
	}
	create_equipment_variant = {
		name = "LT2"
		type = light_tank_chassis_1
		parent_version = 0
		modules = {
			main_armament_slot = tank_small_cannon_2
			turret_type_slot = tank_light_two_man_tank_turret
			suspension_type_slot = tank_bogie_suspension
			armor_type_slot = tank_riveted_armor
			engine_type_slot = tank_gasoline_engine
			special_type_slot_1 = tank_radio_1
		}
		upgrades = {
			tank_nsb_engine_upgrade = 2
			tank_nsb_armor_upgrade = 2
		}
	}	
}

if = {
	limit = {
		has_dlc = "By Blood Alone"
	}
	create_equipment_variant = {
		name = "RFTG3"
		type = small_plane_airframe_0
		modules = {
			fixed_main_weapon_slot = light_mg_2x
			engine_type_slot = engine_1_1x
			special_type_slot_1 = empty
		}			
	}
	create_equipment_variant = {
		name = "MTHG5" 
		type = small_plane_cas_airframe_0
		modules = {
			fixed_main_weapon_slot = bomb_locks
			engine_type_slot = engine_1_1x
			special_type_slot_1 = empty
		}			
	}	
	create_equipment_variant = {
		name = "H786" 
		type = medium_plane_airframe_0
		modules = {
			fixed_main_weapon_slot = medium_bomb_bay
			engine_type_slot = engine_1_2x
			special_type_slot_1 = empty
		}		
	}
}
